import { IDEFormRawItem } from '@ibiz/model-core';
import { FormDetailController } from '../form-detail';
import { FormRawItemState } from './form-rawitem.state';

/**
 * 表单直接内容控制器
 *
 * @author lxm
 * @date 2022-09-04 15:09:52
 * @export
 * @class FormRawItemController
 * @extends {FormDetailController}
 */
export class FormRawItemController extends FormDetailController<IDEFormRawItem> {
  declare state: FormRawItemState;

  protected createState(): FormRawItemState {
    return new FormRawItemState(this.parent?.state);
  }
}
